﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SURVEY_PLAN.cs
// 项目名称：ProjectManage 
// 创建时间：2012-2-7
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SURVEY_PLAN数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SURVEY_PLAN", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SURVEY_PLAN", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SURVEY_PLAN_Entity
	{
		#region 变量定义		
		///<summary>
		///自增编号
		///</summary>
		private int? _aUTOID;
		///<summary>
		///任务名称
		///</summary>
		private string _pLAN_NAME = String.Empty;
		///<summary>
		///任务表名称
		///</summary>
		private string _tASK_TABLE_NAME = String.Empty;
		///<summary>
		///问卷编号
		///</summary>
		private int? _sURVEY_ID;
		///<summary>
		///创建日期
		///</summary>
		private DateTime? _sDATE;
		///<summary>
		///创建人员
		///</summary>
		private string _gHID = String.Empty;
		///<summary>
		///任务状态
		///</summary>
		private int? _sTATUS;
		///<summary>
		///事业部编号
		///</summary>
		private long? _bUSINESSDIVISIONID;
		///<summary>
		///事业部名称
		///</summary>
		private string _bUSINESSDIVISIONNAME = String.Empty;
		///<summary>
		///事业部代码
		///</summary>
		private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///创建人姓名
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SURVEY_PLAN_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SURVEY_PLAN")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public int? AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///任务名称
		///</summary>		
		public string PLAN_NAME
		{
			get {return _pLAN_NAME;}
			set {
					_pLAN_NAME = value;
				}
			
		}

		///<summary>
		///任务表名称
		///</summary>		
		public string TASK_TABLE_NAME
		{
			get {return _tASK_TABLE_NAME;}
			set {
					_tASK_TABLE_NAME = value;
				}
			
		}

		///<summary>
		///问卷编号
		///</summary>		
		public int? SURVEY_ID
		{
			get {return _sURVEY_ID;}
			set { _sURVEY_ID = value; }
			
		}

		///<summary>
		///创建日期
		///</summary>		
		public DateTime? SDATE
		{
			get {return _sDATE;}
			set { _sDATE = value; }
			
		}

		///<summary>
		///创建人员
		///</summary>		
		public string GHID
		{
			get {return _gHID;}
			set {
					_gHID = value;
				}
			
		}

		///<summary>
		///任务状态
		///</summary>		
		public int? STATUS
		{
			get {return _sTATUS;}
			set { _sTATUS = value; }
			
		}

		///<summary>
		///事业部编号
		///</summary>		
		public long? BUSINESSDIVISIONID
		{
			get {return _bUSINESSDIVISIONID;}
			set { _bUSINESSDIVISIONID = value; }
			
		}

		///<summary>
		///事业部名称
		///</summary>		
		public string BUSINESSDIVISIONNAME
		{
			get {return _bUSINESSDIVISIONNAME;}
			set {
					_bUSINESSDIVISIONNAME = value;
				}
			
		}

		///<summary>
		///事业部代码
		///</summary>		
		public string BUSINESSDIVISIONCODE
		{
			get {return _bUSINESSDIVISIONCODE;}
			set {
					_bUSINESSDIVISIONCODE = value;
				}
			
		}

        ///<summary>
        ///创建人姓名
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }
		#endregion
		
	}
}
